docs(ams): recommend API-key credentials for unattended coding-agent setup - #6854
Merged
Conversation
…setup Surveys claude-cli's and codex-cli's real credential mechanisms (subscription-backed device-flow OAuth vs a plain provider API key) and recommends defaulting init --interactive to the API-key path for no-TTY/fleet/server contexts, keeping the OAuth path for interactive laptop use where a human already pays for a subscription plan. Non-binding design input for #6846's wizard implementation. Closes #6845
JSONbored
marked this pull request as draft
July 17, 2026 08:38
Contributor
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-17 08:39:49 UTC
Nits — 2 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design/research deliverable for #6845 (part of epic #6844). Surveys
claude-cli's andcodex-cli's real, verified credential mechanisms and recommends a concrete default forinit --interactiveper deployment context.Closes #6845
Recommendation
Default to a provider API key (
ANTHROPIC_API_KEY/OPENAI_API_KEY) for no-TTY/fleet/server contexts, keeping the current subscription-backed device-flow OAuth (claude setup-token/codex login --device-auth) as the offered default only in a real interactive session. Both already work today — this is a default/ordering recommendation, not a new capability. Full reasoning and verification evidence in the doc.This is a non-binding recommendation only; the actual wizard behavior change is #6846, which depends on this issue.
Test plan
npm run docs:drift-checknpm run test:miner-deployment-docs-audit